package com.mars.common.utils.ali;

import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "oos")
@NacosConfigurationProperties(prefix = "oos",groupId = "mars-config-group",dataId = "mars-oos.yaml")
public class OSSConfig {
    private String endpoint;    //OSS连接路径
    private String bucketName;  //需要存储的bucketName
    private String accessKeyId; //连接KeyId
    private String accessKeySecret; //连接密钥
}
